package com.yyplatform.admin.platform.wechat.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;

import com.yyplatform.admin.infra.model.entity.BaseEntity;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "sys_wechat_mp")
public class SysWechatMpEntity extends BaseEntity {

    // 公众号名称
    @Column(name = "mp_name", nullable = false, columnDefinition = "varchar(50) comment '公众号名称' ")
    private String mpName;

    // 公众号AppId
    @Column(name = "app_id", nullable = false, columnDefinition = "varchar(50) comment '公众号AppId' ")
    private String appId;

    // 公众号AppSecret
    @Column(name = "app_secret", nullable = false, columnDefinition = "varchar(50) comment '公众号AppSecret' ")
    private String appSecret;

    // 公众号Token
    @Column(name = "token", nullable = false, columnDefinition = "varchar(50) comment '公众号Token' ")
    private String token;

    // 公众号AESKey 
    @Column(name = "aes_key", nullable = false, columnDefinition = "varchar(50) comment '公众号AESKey' ")
    private String aesKey;


}
